class SalaryAccount:
    def __call__(self,salary,*args,**kwargs):
        print('计算工资了...')
        yearSalary = salary*12
        daySalary = salary // 27.5
        hourSalary = daySalary / 8
        res = {
            'yearSalary':yearSalary,
            'daySalary':daySalary,
            'hourSalary':hourSalary
        }
        return  res
s = SalaryAccount()
print(s(3000))


